package com.blog.admin.mapper;

import java.util.List;

import org.springframework.stereotype.Component;

import com.blog.admin.pojo.auth.RolePermission;

@Component
public interface RolePermissionMapper{

	/**
	 * 根据角色id删除权限设置
	 * @param id
	 */
	void deleteByRole(Integer id);

	/**
	 * 保存权限设置
	 */
	void saveRolePermission(List<RolePermission> list);
}